home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / lwlib / energize / debuggerps.xdc < prev    next >
Encoding:
Text File  |  1994-09-20  |  2.9 KB  |  102 lines

  1.  
  2. /*
  3. ** Generated by X-Designer 
  4. */
  5. /*
  6. **LIBS: -lXm -lXt -lX11
  7. */
  8.  
  9. #include <X11/Xatom.h>
  10. #include <X11/Intrinsic.h>
  11. #include <X11/Shell.h>
  12.  
  13. #include <Xm/Xm.h>
  14. #include <Xm/DialogS.h>
  15. #include <Xm/Frame.h>
  16. #include <Xm/Label.h>
  17. #include <Xm/PushB.h>
  18. #include <Xm/RowColumn.h>
  19.  
  20.  
  21.  
  22.  
  23. create_widget0( parent )
  24. Widget parent;
  25. {
  26.     Display *display = XtDisplay ( parent );
  27.     Widget children[14];      /* Children to manage */
  28.     Arg al[64];           /* Arg List */
  29.     register int ac = 0;      /* Arg Count */
  30.     char from_s [256];    /* For font list conversion */
  31.     XrmValue from_value, to_value; /* ditto */
  32.     int fg, bg;           /* colour values for pixmaps */ 
  33.     XmString *list_items; /* For list items */
  34.     int list_item;        /* Index for list_items */
  35.     XmString xmstrings[15];    /* temporary storage for XmStrings */
  36.     Widget widget0;
  37.     Widget widget1;
  38.     Widget widget2;
  39.     Widget widget3;
  40.     Widget widget4;
  41.     Widget widget5;
  42.     Widget widget6;
  43.     Widget widget7;
  44.     Widget widget8;
  45.     Widget widget9;
  46.     Widget widget10;
  47.     Widget widget11;
  48.     Widget widget12;
  49.     Widget widget13;
  50.     Widget widget14;
  51.     Widget widget15;
  52.     Widget widget16;
  53.  
  54.     XtSetArg(al[ac], XmNallowShellResize, TRUE); ac++;
  55.     widget0 = XmCreateDialogShell ( parent, "widget0", al, ac );
  56.     ac = 0;
  57.     XtSetArg(al[ac], XmNshadowType, XmSHADOW_OUT); ac++;
  58.     widget1 = XmCreateFrame ( widget0, "debuggerPanel", al, ac );
  59.     ac = 0;
  60.     XtSetArg(al[ac], XmNspacing, 0); ac++;
  61.     XtSetArg(al[ac], XmNmarginWidth, 0); ac++;
  62.     XtSetArg(al[ac], XmNmarginHeight, 0); ac++;
  63.     XtSetArg(al[ac], XmNorientation, XmHORIZONTAL); ac++;
  64.     widget2 = XmCreateRowColumn ( widget1, "panel", al, ac );
  65.     ac = 0;
  66.     widget3 = XmCreateLabel ( widget2, "target", al, ac );
  67.     widget4 = XmCreatePushButton ( widget2, "start", al, ac );
  68.     widget5 = XmCreatePushButton ( widget2, "run", al, ac );
  69.     widget6 = XmCreatePushButton ( widget2, "stop", al, ac );
  70.     widget7 = XmCreatePushButton ( widget2, "continue", al, ac );
  71.     widget8 = XmCreatePushButton ( widget2, "step", al, ac );
  72.     widget9 = XmCreatePushButton ( widget2, "next", al, ac );
  73.     widget10 = XmCreatePushButton ( widget2, "finish", al, ac );
  74.     widget11 = XmCreatePushButton ( widget2, "backtrace", al, ac );
  75.     widget12 = XmCreatePushButton ( widget2, "up", al, ac );
  76.     widget13 = XmCreatePushButton ( widget2, "frame", al, ac );
  77.     widget14 = XmCreatePushButton ( widget2, "down", al, ac );
  78.     widget15 = XmCreatePushButton ( widget2, "print", al, ac );
  79.     widget16 = XmCreatePushButton ( widget2, "printStar", al, ac );
  80.     children[ac++] = widget3;
  81.     children[ac++] = widget4;
  82.     children[ac++] = widget5;
  83.     children[ac++] = widget6;
  84.     children[ac++] = widget7;
  85.     children[ac++] = widget8;
  86.     children[ac++] = widget9;
  87.     children[ac++] = widget10;
  88.     children[ac++] = widget11;
  89.     children[ac++] = widget12;
  90.     children[ac++] = widget13;
  91.     children[ac++] = widget14;
  92.     children[ac++] = widget15;
  93.     children[ac++] = widget16;
  94.     XtManageChildren(children, ac);
  95.     ac = 0;
  96.     children[ac++] = widget2;
  97.     XtManageChildren(children, ac);
  98.     ac = 0;
  99. }
  100.  
  101.  
  102.